// routes/wordsetRoutes.js
const express = require('express');
const router = express.Router();
const wordsetController = require('../controllers/wordssetController');

router.post('/create', wordsetController.createWordSet);
router.post('/get', wordsetController.getWordSet);
router.post('/update', wordsetController.updateWordSet);
router.post('/delete', wordsetController.deleteWordSet);
router.post('/getWords', wordsetController.getUserWordSet);
module.exports = router;